# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-colander
_pkgname=colander
pkgver=1.7.0
pkgrel=1
pkgdesc="A simple schema-based Python serialization and deserialization library"
url="http://docs.pylonsproject.org/projects/colander/en/latest/"
arch="noarch"
license="ZPL-2.1"
depends="python3 py3-iso8601 py3-translationstring"
checkdepends="py3-nose py3-coverage"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="135fe3d5d8a3fc613a30fb2a6a722ad7da2bedb32259d9cb955dcf38dd8cd9353f7b447b27fb1f16df94b3899e6ffa03514bab4a2e2b31dadb496dcfee4b082a  colander-1.7.0.tar.gz"
